home *** CD-ROM | disk | FTP | other *** search
- #include <process.h>
- #include <tispxipx.h>
-
- #include "rqproc.h"
- #include "main.h"
-
-
-
- int RQProcRegisterNewClient ( HCLIENT hClient,
- const IPX_ADDR * pstIPXAddress,
- WORD wNetwareConnection,
- const char * pszUserName
- )
- {
-
- int iClientID = SetNLMID ( GetLibraryID () );
-
-
- // Add your code here
-
- SetNLMID ( iClientID );
- return ( RQP_OK );
-
- }
-
-
- int RQProcClientTermination ( HCLIENT hClient )
- {
-
- int iClientID = SetNLMID ( GetLibraryID () );
-
-
- // Add your code here
-
- SetNLMID ( iClientID );
- return ( 1 );
-
- }
-
-
- int RQProcCriticalClientTermination ( HCLIENT hClient )
- {
-
- int iClientID = SetNLMID ( GetLibraryID () );
-
-
- // Add your code here
-
- SetNLMID ( iClientID );
- return ( 1 );
-
- }
-
-
- int RQProcGetDescriptionText ( HCLIENT hClient, const char * pRequest, char * pDescription, int iLength )
- {
-
- int iClientID = SetNLMID ( GetLibraryID () );
-
-
- // Add your code here
-
- * pDescription = 0;
- SetNLMID ( iClientID );
- return ( 1 );
-
- }
-
-
- int RQProcProcessRequest ( HCLIENT hClient,
- char ** ppRequest,
- LONG * plRequestLength
- )
- {
-
- int iClientID = SetNLMID ( GetLibraryID () );
-
-
- // Add your code here
-
- SetNLMID ( iClientID );
- return ( RQP_OK );
-
- }
-
-
- int RQProcLoadTransporter ( char * pszCommandLine, char * pszStartupDirectory )
- {
-
- return ( RQP_OK );
-
- }
-
-
- void RQProcDownTransporter ( void )
- {
-
- int iClientID = SetNLMID ( GetLibraryID () );
-
-
- // Add your code here
-
- SetNLMID ( iClientID );
-
- }
-
-
- int RQProcGetNumberOfConnections ( void )
- {
-
- int iClientID = SetNLMID ( GetLibraryID () );
-
-
- // Add your code here
-
- SetNLMID ( iClientID );
- return ( 2 );
-
- }
-